#pragma once
#include "CTriggerBase.h"


class CString;
class CTriggerActionCollection;

class CEventTrigger :
	public CTriggerBase
{

private: 
	CEventTrigger(CCoreServices * pCore);
	virtual ~CEventTrigger();
public: 
	static HRESULT Create(CDependencyObject * * ppObject, CREATEPARAMETERS * pCreate);
	virtual XUINT32 GetTypeIndex() const;
	virtual HRESULT SetValue(CDependencyProperty * pdp, CValue * pValue);
	virtual XUINT32 ShouldEnsureNameResolution();
	CString * m_pRouted;
	CTriggerActionCollection * m_pTriggerActions;
};